package cocom.iplatform.piaoerbai.dao;


import cocom.iplatform.piaoerbai.bean.BasicDataBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BasicDataBeanDao {

    int addBasicData(BasicDataBean basicDataBean);

    int deleteBasicDataById(@Param("id") int id);

    int updateBasicData(@Param("basicDataBean") BasicDataBean basicDataBean);

    List<BasicDataBean> getAllBasicData();

    BasicDataBean getBasicDataById(@Param("id") int id);

}